<template>
  <div class="home_sidebar">
    <el-menu
      default-active="2"
      class="el-menu-vertical-demo"
      background-color="#545c64"
      text-color="#fff"
      active-text-color="#ffd04b"
    >
      <el-submenu index="1">
        <template slot="title">
          <i class="el-icon-location"></i>
          <span>导航一</span>
        </template>
        <el-menu-item index="1-4-1">选项1</el-menu-item>
        <el-menu-item index="1-4-1">选项1</el-menu-item>
        <el-menu-item index="1-4-1">选项1</el-menu-item>
        <el-menu-item index="1-4-1">选项1</el-menu-item>
      </el-submenu>
    </el-menu>
  </div>
</template>
 
<script>
export default {
  data() {
    return {
        menuConfig:[
            {title:'商品管理',icon:'el-icon-delete-solid'},
            {title:'订单中心',icon:'el-icon-delete-solid'},
            {title:'店铺运营',icon:'el-icon-delete-solid'}
        ]
    };
  },
};
</script>
 
<style lang = "less" scoped>
.home_sidebar {
  display: block;
  position: absolute;
  left: 0;
  top: 70px;
  bottom: 0;
  overflow-y: scroll;
}
</style>